{% extends 'business/devices_list.html' %}

{% block device_title %}{{ which }}列表{% endblock %}

{% block device_1 %}{{ which }}管理{% endblock %}

{% block device_2 %}{{ which }}管理{% endblock %}

{% block list %}
    <table id="memberTable" class="table table-bordered table-hover nowrap">
        <thead>
        <tr>
            <th>id</th>
            <th>型号名称</th>
            <th>风速2.5出力(kW)</th>
            <th>风速3出力(kW)</th>
            <th>风速4出力(kW)</th>
            <th>风速5出力(kW)</th>
            <th>风速6出力(kW)</th>
            <th>风速7出力(kW)</th>
            <th>风速8出力(kW)</th>
            <th>风速9出力(kW)</th>
            <th>风速10出力(kW)</th>
            <th>风速11出力(kW)</th>
            <th>风速12出力(kW)</th>
            <th>风速13出力(kW)</th>
            <th>风速14出力(kW)</th>
            <th>风速15出力(kW)</th>
            <th>风速16出力(kW)</th>
            <th>风速17出力(kW)</th>
            <th>风速18出力(kW)</th>
            <th>风速19出力(kW)</th>
            <th>风速20出力(kW)</th>
            <th>风速21出力(kW)</th>
            <th>风速22出力(kW)</th>
            <th>风速23出力(kW)</th>
            <th>风速24出力(kW)</th>
            <th>风速25出力(kW)</th>
            <th>单位功率费用(元/kW)</th>
            <th>是否默认</th>
            <td><label>
                <input type="checkbox" id="select_all">
            </label></td>
        </tr>
        </thead>
        <tbody>
        {% for i in devices %}
            <tr>
                <td>{{ i.id }}</td>
                <td target="model_name">{{ i.model_name }}</td>
                <td target="s2">{{ i.s2 }}</td>
                <td target="s3">{{ i.s3 }}</td>
                <td target="s4">{{ i.s4 }}</td>
                <td target="s5">{{ i.s5 }}</td>
                <td target="s6">{{ i.s6 }}</td>
                <td target="s7">{{ i.s7 }}</td>
                <td target="s8">{{ i.s8 }}</td>
                <td target="s9">{{ i.s9 }}</td>
                <td target="s10">{{ i.s10 }}</td>
                <td target="s11">{{ i.s11 }}</td>
                <td target="s12">{{ i.s12 }}</td>
                <td target="s13">{{ i.s13 }}</td>
                <td target="s14">{{ i.s14 }}</td>
                <td target="s15">{{ i.s15 }}</td>
                <td target="s16">{{ i.s16 }}</td>
                <td target="s17">{{ i.s17 }}</td>
                <td target="s18">{{ i.s18 }}</td>
                <td target="s19">{{ i.s19 }}</td>
                <td target="s20">{{ i.s20 }}</td>
                <td target="s21">{{ i.s21 }}</td>
                <td target="s22">{{ i.s22 }}</td>
                <td target="s23">{{ i.s23 }}</td>
                <td target="s24">{{ i.s24 }}</td>
                <td target="s25">{{ i.s25 }}</td>
                <td target="ppp">{{ i.ppp }}</td>
                <td>{% if i.is_default %}
                    <i class="fa fa-check-circle"></i>
                {% else %}

                {% endif %}</td>
                <td><label>
                    <input id="cb{{ i.id }}" type="checkbox" class="cb">
                </label></td>
            </tr>
        {% endfor %}
        </tbody>
    </table>
{% endblock %}

{% block add_title %}新增{{ which }}{% endblock %}